// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

	var __vue_exports__, __vue_options__
	var __vue_styles__ = []

	/* script */
	__vue_exports__ = __webpack_require__(1)

	/* template */
	var __vue_template__ = __webpack_require__(80)
	__vue_options__ = __vue_exports__ = __vue_exports__ || {}
	if (
	  typeof __vue_exports__.default === "object" ||
	  typeof __vue_exports__.default === "function"
	) {
	if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
	__vue_options__ = __vue_exports__ = __vue_exports__.default
	}
	if (typeof __vue_options__ === "function") {
	  __vue_options__ = __vue_options__.options
	}
	__vue_options__.__file = "/Users/wyatt/Desktop/Work Project/doufu_php/web/api.doufu.diaobao.la/weex/TFBookShelf/TFOffLineList.vue"
	__vue_options__.render = __vue_template__.render
	__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
	__vue_options__.style = __vue_options__.style || {}
	__vue_styles__.forEach(function (module) {
	  for (var name in module) {
	    __vue_options__.style[name] = module[name]
	  }
	})
	if (typeof __register_static_styles__ === "function") {
	  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
	}

	module.exports = __vue_exports__
	module.exports.el = 'true'
	new Vue(module.exports)


/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';

	var _index = __webpack_require__(2);

	var _index2 = _interopRequireDefault(_index);

	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//不同目录下的文件引用
	var utils = __webpack_require__(70); //不同目录下的文件引用

	var modal = weex.requireModule('modal');
	var hud = weex.requireModule('hud');
	var http = weex.requireModule('http');
	var bridge = weex.requireModule('bridge');
	var enent = weex.requireModule('event');

	module.exports = {
	    components: {
	        tfOffline: __webpack_require__(71),
	        tfNav: __webpack_require__(74),
	        tfButton: __webpack_require__(77)
	    },

	    props: {
	        title: {
	            default: '加载中..'
	        },
	        list: {
	            default: function _default() {
	                return [];
	            }
	        },
	        noneDataShow: {
	            default: false
	        },

	        localCacheList: {
	            default: function _default() {
	                return [];
	            }
	        },
	        offlineList: {
	            default: function _default() {
	                return [];
	            }
	        },

	        isRequesting: {
	            default: false
	        },
	        isGetCacheing: {
	            default: false
	        },

	        uid: {
	            default: 0
	        }

	    },
	    computed: {
	        isX: {
	            get: function get() {
	                return _index2.default.env.isIPhoneX();
	            }
	        },
	        statusHeight: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                return env.platform == 'iOS' || env.osVersion >= 5.0 || env.osVersion >= '5.0' ? 0 : '25wx';
	            }
	        },
	        navigationBarHeight: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                if (this.isX) {
	                    return '88wx';
	                }
	                return env.platform == 'iOS' || env.osVersion >= 5.0 || env.osVersion >= '5.0' ? '64wx' : '44wx';
	            }
	        },
	        deviceHeight: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                return env.deviceHeight;
	            }
	        },
	        isiOS: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                if (env.platform == 'iOS') {
	                    return true;
	                }
	                return false;
	            }
	        }

	    },
	    created: function created() {
	        var self = this;
	        self.isGetCacheing = true;
	        bridge.uid(function (res) {
	            var uid = res.uid;
	            self.uid = uid;
	            var cache = weex.requireModule('cache');
	            var listKey = 'TFOffLineCacheList_' + uid;
	            cache.get(listKey, function (value) {
	                var list = value && value.list ? value.list : [];

	                //                    self.noneDataShow = list.length > 0 ? false : true;

	                self.fullReadLastIndexWithTopics(list, function (newList) {
	                    self.localCacheList = list;
	                    self.isGetCacheing = false;
	                    self.updateData();
	                });
	            });
	        });

	        self.requestData();
	    },
	    mounted: function mounted() {
	        var self = this;
	        var notfiy = weex.requireModule('notify');
	        notfiy.addNotify('TFOfflineDownloadSuccess', function (data) {
	            self.updateItemWithSuccessData(data);
	        });

	        notfiy.addNotify('TFOfflineOptionRemoveNotify', function (data) {
	            self.removeItemWithData(data);
	        });
	    },
	    methods: {

	        //
	        removeItemWithData: function removeItemWithData(data) {
	            var self = this;
	            var id = data.id;

	            var cache = weex.requireModule('cache');
	            var key = 'TFOffLineCache_' + self.uid + '_' + id;

	            cache.set(key, {});
	            var listKey = 'TFOffLineCacheList_' + self.uid;

	            cache.get(listKey, function (value) {
	                var dic = value && value.list ? value : { list: [] };
	                var list = dic.list;
	                list = self.deleteSameID(list, id);
	                dic.list = list;
	                cache.set(listKey, dic);
	            });

	            for (var index in self.list) {
	                var item = self.list[index];
	                if (item.data.data.id == id) {
	                    self.list.splice(index, 1);
	                    modal.toast({ message: '删除成功' });
	                    break;
	                }
	            }
	        },

	        //下载成功更新状态
	        updateItemWithSuccessData: function updateItemWithSuccessData(data) {
	            var id = data.id;

	            for (var index in this.list) {
	                var item = this.list[index].data;
	                if (item.data.id == id) {

	                    var isNewDownload = item.subTitle == '未下载';

	                    item.subTitle = '下载完成';
	                    if (item.data.lastReadIndex && item.data.lastReadIndex > 0) {
	                        item.detail = item.data.lastReadIndex + '/' + data.article_num;
	                    } else {
	                        item.detail = 1 + '/' + data.article_num;
	                    }
	                    var newItem = {};
	                    newItem.subTitle = item.subTitle;
	                    newItem.title = data.title;
	                    newItem.detail = item.detail;
	                    newItem.data = data;
	                    this.list.$set(index, { data: newItem });
	                    break;
	                }
	            }
	        },

	        //请求数据
	        requestData: function requestData() {
	            var self = this;
	            self.isRequesting = true;
	            var url = 'novel_offline/get_offline_novles';
	            self.request(url, {}, function (data) {
	                if (data) {
	                    var list = data.list;
	                    self.offlineList = list ? list : [];
	                    self.isRequesting = false;
	                    self.updateData();
	                } else {
	                    //拿缓存的
	                    self.isRequesting = false;
	                    self.updateData();
	                }
	            });
	        },

	        //填充阅读进度
	        fullReadLastIndexWithTopics: function fullReadLastIndexWithTopics(list, callback) {

	            var ids = [];
	            for (var index in list) {
	                var topic = list[index];
	                ids.push(topic.id);
	            }
	            var bridge = weex.requireModule('bridge');
	            var self = this;
	            bridge.novelReadLastIndex({ ids: ids }, function (data) {
	                var res = data;
	                var env = self.$getConfig().env;
	                if (env.platform == 'android') {
	                    res = JSON.parse(data);
	                }
	                if (res.indexs) {
	                    var indexs = res.indexs;
	                    for (var index in list) {
	                        var topic = list[index];
	                        topic.lastReadIndex = indexs[topic.id];
	                        topic.lastReadIndex++;
	                        if (topic.lastReadIndex > topic.article_num) {
	                            topic.lastReadIndex = topic.article_num;
	                        }
	                    }
	                    if (callback) callback(list);
	                }
	            });
	        },

	        deleteSameID: function deleteSameID(list, iD) {
	            for (var index in list) {
	                var item = list[index];
	                if (item.id == iD) {
	                    list.splice(index, 1);

	                    break;
	                }
	            }
	            return list;
	        },

	        updateData: function updateData() {
	            var self = this;
	            var resList = [];
	            if (!self.isRequesting && !self.isGetCacheing) {
	                self.title = '离线';
	                if (self.offlineList.length == 0) {
	                    for (var index in self.localCacheList) {
	                        var item = self.localCacheList[index];
	                        var newItem = {};
	                        newItem.data = item;
	                        newItem.title = item.title;
	                        newItem.subTitle = '下载完成';
	                        if (item.lastReadIndex > 0) {
	                            newItem.detail = item.lastReadIndex + '/' + item.article_num;
	                        } else {
	                            newItem.detail = '1/' + item.article_num;
	                        }
	                        resList.push({ data: newItem });
	                    }
	                } else {

	                    var cacheMap = {};
	                    for (var index in self.localCacheList) {
	                        var item = self.localCacheList[index];
	                        cacheMap[item.id] = item;
	                    }

	                    for (var index in self.offlineList) {
	                        var newItem = {};
	                        var item = self.offlineList[index];
	                        newItem.subTitle = '未下载';
	                        newItem.detail = 1 + '/' + item.article_num;

	                        if (cacheMap[item.id]) {
	                            var cacheItem = cacheMap[item.id];
	                            if (cacheItem.article_num != item.article_num) {
	                                newItem.subTitle = '有更新';
	                            } else {
	                                newItem.subTitle = '下载完成';
	                            }
	                            item = cacheItem;
	                            if (item.lastReadIndex > 0) {
	                                newItem.detail = item.lastReadIndex + '/' + item.article_num;
	                            } else {
	                                newItem.detail = '1/' + item.article_num;
	                            }
	                        }

	                        newItem.data = item;
	                        newItem.title = item.title;

	                        resList.push({ data: newItem });
	                    }
	                }

	                this.list = resList;
	            }
	        },

	        //网络请求
	        request: function request(url, param, callback) {
	            var modal = weex.requireModule('modal');
	            var http = weex.requireModule('http');
	            http.requestGet(url, param, function (res) {
	                if (!res.ok || res.data == null) {
	                    if (callback) {
	                        callback(null);
	                    };
	                    return;
	                }
	                var json = res.data;
	                if (json.status == 0) {
	                    if (callback) {
	                        callback(json.data);
	                    };
	                } else {
	                    if (callback) {
	                        callback(null);
	                    };
	                }
	            });
	        }
	    }

	};

/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';

	Object.defineProperty(exports, "__esModule", {
	    value: true
	});

	var _typeof2 = __webpack_require__(3);

	var _typeof3 = _interopRequireDefault(_typeof2);

	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

	/**
	 * CopyRight (C) 2017-2022 Alibaba Group Holding Limited.
	 * Created by Tw93 on 17/11/01
	 */

	var Utils = {
	    env: {
	        isWeb: function isWeb() {
	            var platform = weex.config.env.platform;

	            return (typeof window === 'undefined' ? 'undefined' : (0, _typeof3.default)(window)) === 'object' && platform.toLowerCase() === 'web';
	        },
	        isIOS: function isIOS() {
	            var platform = weex.config.env.platform;

	            return platform.toLowerCase() === 'ios';
	        },

	        /**
	         * 是否为 iPhone X
	         * @returns {boolean}
	         */
	        isIPhoneX: function isIPhoneX() {
	            var _weex$config$env = weex.config.env,
	                deviceHeight = _weex$config$env.deviceHeight,
	                deviceWidth = _weex$config$env.deviceWidth,
	                androidStatusBarHeight = _weex$config$env.androidStatusBarHeight;

	            if (Utils.env.isWeb()) {
	                return (typeof window === 'undefined' ? 'undefined' : (0, _typeof3.default)(window)) !== undefined && window.screen && window.screen.width && window.screen.height && parseFloat(window.screen.width) / parseFloat(window.screen.height) < 0.5;
	            }
	            return Utils.env.isIOS() && deviceWidth / deviceHeight < 0.5 || Utils.env.isAndroid() && androidStatusBarHeight > 88;
	        },
	        isAndroid: function isAndroid() {
	            var platform = weex.config.env.platform;

	            return platform.toLowerCase() === 'android';
	        },
	        statusbarHeight: function statusbarHeight() {
	            if (Utils.env.isIPhoneX()) {
	                return 88;
	            }
	            return 40;
	        },


	        /**
	         * 导航栏高度
	         * */
	        navgationbarHeight: function navgationbarHeight() {
	            var navHeight = Utils.env.isWeb() ? 0 : Utils.env.isIPhoneX() ? 176 : 132;
	            return navHeight;
	        },

	        /**
	         * 获取weex屏幕真实的设置高度
	         * @returns {Number}
	         */
	        getScreenHeight: function getScreenHeight() {
	            var env = weex.config.env;

	            return env.deviceHeight / env.deviceWidth * 750;
	        },
	        safeAreaHeight: function safeAreaHeight() {
	            if (Utils.env.isIPhoneX()) {
	                return 50;
	            }
	            return 0;
	        }
	    }
	};

	exports.default = Utils;
	module.exports = exports['default'];

/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {

	"use strict";

	exports.__esModule = true;

	var _iterator = __webpack_require__(4);

	var _iterator2 = _interopRequireDefault(_iterator);

	var _symbol = __webpack_require__(55);

	var _symbol2 = _interopRequireDefault(_symbol);

	var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };

	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

	exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
	  return typeof obj === "undefined" ? "undefined" : _typeof(obj);
	} : function (obj) {
	  return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
	};

/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {

	module.exports = { "default": __webpack_require__(5), __esModule: true };

/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

	__webpack_require__(6);
	__webpack_require__(50);
	module.exports = __webpack_require__(54).f('iterator');


/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';
	var $at = __webpack_require__(7)(true);

	// 21.1.3.27 String.prototype[@@iterator]()
	__webpack_require__(10)(String, 'String', function (iterated) {
	  this._t = String(iterated); // target
	  this._i = 0;                // next index
	// 21.1.5.2.1 %StringIteratorPrototype%.next()
	}, function () {
	  var O = this._t;
	  var index = this._i;
	  var point;
	  if (index >= O.length) return { value: undefined, done: true };
	  point = $at(O, index);
	  this._i += point.length;
	  return { value: point, done: false };
	});


/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

	var toInteger = __webpack_require__(8);
	var defined = __webpack_require__(9);
	// true  -> String#at
	// false -> String#codePointAt
	module.exports = function (TO_STRING) {
	  return function (that, pos) {
	    var s = String(defined(that));
	    var i = toInteger(pos);
	    var l = s.length;
	    var a, b;
	    if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
	    a = s.charCodeAt(i);
	    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
	      ? TO_STRING ? s.charAt(i) : a
	      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
	  };
	};


/***/ }),
/* 8 */
/***/ (function(module, exports) {

	// 7.1.4 ToInteger
	var ceil = Math.ceil;
	var floor = Math.floor;
	module.exports = function (it) {
	  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
	};


/***/ }),
/* 9 */
/***/ (function(module, exports) {

	// 7.2.1 RequireObjectCoercible(argument)
	module.exports = function (it) {
	  if (it == undefined) throw TypeError("Can't call method on  " + it);
	  return it;
	};


/***/ }),
/* 10 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';
	var LIBRARY = __webpack_require__(11);
	var $export = __webpack_require__(12);
	var redefine = __webpack_require__(27);
	var hide = __webpack_require__(17);
	var has = __webpack_require__(28);
	var Iterators = __webpack_require__(29);
	var $iterCreate = __webpack_require__(30);
	var setToStringTag = __webpack_require__(46);
	var getPrototypeOf = __webpack_require__(48);
	var ITERATOR = __webpack_require__(47)('iterator');
	var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
	var FF_ITERATOR = '@@iterator';
	var KEYS = 'keys';
	var VALUES = 'values';

	var returnThis = function () { return this; };

	module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
	  $iterCreate(Constructor, NAME, next);
	  var getMethod = function (kind) {
	    if (!BUGGY && kind in proto) return proto[kind];
	    switch (kind) {
	      case KEYS: return function keys() { return new Constructor(this, kind); };
	      case VALUES: return function values() { return new Constructor(this, kind); };
	    } return function entries() { return new Constructor(this, kind); };
	  };
	  var TAG = NAME + ' Iterator';
	  var DEF_VALUES = DEFAULT == VALUES;
	  var VALUES_BUG = false;
	  var proto = Base.prototype;
	  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
	  var $default = (!BUGGY && $native) || getMethod(DEFAULT);
	  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
	  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
	  var methods, key, IteratorPrototype;
	  // Fix native
	  if ($anyNative) {
	    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
	    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
	      // Set @@toStringTag to native iterators
	      setToStringTag(IteratorPrototype, TAG, true);
	      // fix for some old engines
	      if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
	    }
	  }
	  // fix Array#{values, @@iterator}.name in V8 / FF
	  if (DEF_VALUES && $native && $native.name !== VALUES) {
	    VALUES_BUG = true;
	    $default = function values() { return $native.call(this); };
	  }
	  // Define iterator
	  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
	    hide(proto, ITERATOR, $default);
	  }
	  // Plug for library
	  Iterators[NAME] = $default;
	  Iterators[TAG] = returnThis;
	  if (DEFAULT) {
	    methods = {
	      values: DEF_VALUES ? $default : getMethod(VALUES),
	      keys: IS_SET ? $default : getMethod(KEYS),
	      entries: $entries
	    };
	    if (FORCED) for (key in methods) {
	      if (!(key in proto)) redefine(proto, key, methods[key]);
	    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
	  }
	  return methods;
	};


/***/ }),
/* 11 */
/***/ (function(module, exports) {

	module.exports = true;


/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {

	var global = __webpack_require__(13);
	var core = __webpack_require__(14);
	var ctx = __webpack_require__(15);
	var hide = __webpack_require__(17);
	var PROTOTYPE = 'prototype';

	var $export = function (type, name, source) {
	  var IS_FORCED = type & $export.F;
	  var IS_GLOBAL = type & $export.G;
	  var IS_STATIC = type & $export.S;
	  var IS_PROTO = type & $export.P;
	  var IS_BIND = type & $export.B;
	  var IS_WRAP = type & $export.W;
	  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
	  var expProto = exports[PROTOTYPE];
	  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
	  var key, own, out;
	  if (IS_GLOBAL) source = name;
	  for (key in source) {
	    // contains in native
	    own = !IS_FORCED && target && target[key] !== undefined;
	    if (own && key in exports) continue;
	    // export native or passed
	    out = own ? target[key] : source[key];
	    // prevent global pollution for namespaces
	    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
	    // bind timers to global for call from export context
	    : IS_BIND && own ? ctx(out, global)
	    // wrap global constructors for prevent change them in library
	    : IS_WRAP && target[key] == out ? (function (C) {
	      var F = function (a, b, c) {
	        if (this instanceof C) {
	          switch (arguments.length) {
	            case 0: return new C();
	            case 1: return new C(a);
	            case 2: return new C(a, b);
	          } return new C(a, b, c);
	        } return C.apply(this, arguments);
	      };
	      F[PROTOTYPE] = C[PROTOTYPE];
	      return F;
	    // make static versions for prototype methods
	    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
	    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
	    if (IS_PROTO) {
	      (exports.virtual || (exports.virtual = {}))[key] = out;
	      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
	      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
	    }
	  }
	};
	// type bitmap
	$export.F = 1;   // forced
	$export.G = 2;   // global
	$export.S = 4;   // static
	$export.P = 8;   // proto
	$export.B = 16;  // bind
	$export.W = 32;  // wrap
	$export.U = 64;  // safe
	$export.R = 128; // real proto method for `library`
	module.exports = $export;


/***/ }),
/* 13 */
/***/ (function(module, exports) {

	// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
	var global = module.exports = typeof window != 'undefined' && window.Math == Math
	  ? window : typeof self != 'undefined' && self.Math == Math ? self
	  // eslint-disable-next-line no-new-func
	  : Function('return this')();
	if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef


/***/ }),
/* 14 */
/***/ (function(module, exports) {

	var core = module.exports = { version: '2.5.3' };
	if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef


/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {

	// optional / simple context binding
	var aFunction = __webpack_require__(16);
	module.exports = function (fn, that, length) {
	  aFunction(fn);
	  if (that === undefined) return fn;
	  switch (length) {
	    case 1: return function (a) {
	      return fn.call(that, a);
	    };
	    case 2: return function (a, b) {
	      return fn.call(that, a, b);
	    };
	    case 3: return function (a, b, c) {
	      return fn.call(that, a, b, c);
	    };
	  }
	  return function (/* ...args */) {
	    return fn.apply(that, arguments);
	  };
	};


/***/ }),
/* 16 */
/***/ (function(module, exports) {

	module.exports = function (it) {
	  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
	  return it;
	};


/***/ }),
/* 17 */
/***/ (function(module, exports, __webpack_require__) {

	var dP = __webpack_require__(18);
	var createDesc = __webpack_require__(26);
	module.exports = __webpack_require__(22) ? function (object, key, value) {
	  return dP.f(object, key, createDesc(1, value));
	} : function (object, key, value) {
	  object[key] = value;
	  return object;
	};


/***/ }),
/* 18 */
/***/ (function(module, exports, __webpack_require__) {

	var anObject = __webpack_require__(19);
	var IE8_DOM_DEFINE = __webpack_require__(21);
	var toPrimitive = __webpack_require__(25);
	var dP = Object.defineProperty;

	exports.f = __webpack_require__(22) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
	  anObject(O);
	  P = toPrimitive(P, true);
	  anObject(Attributes);
	  if (IE8_DOM_DEFINE) try {
	    return dP(O, P, Attributes);
	  } catch (e) { /* empty */ }
	  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
	  if ('value' in Attributes) O[P] = Attributes.value;
	  return O;
	};


/***/ }),
/* 19 */
/***/ (function(module, exports, __webpack_require__) {

	var isObject = __webpack_require__(20);
	module.exports = function (it) {
	  if (!isObject(it)) throw TypeError(it + ' is not an object!');
	  return it;
	};


/***/ }),
/* 20 */
/***/ (function(module, exports) {

	module.exports = function (it) {
	  return typeof it === 'object' ? it !== null : typeof it === 'function';
	};


/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

	module.exports = !__webpack_require__(22) && !__webpack_require__(23)(function () {
	  return Object.defineProperty(__webpack_require__(24)('div'), 'a', { get: function () { return 7; } }).a != 7;
	});


/***/ }),
/* 22 */
/***/ (function(module, exports, __webpack_require__) {

	// Thank's IE8 for his funny defineProperty
	module.exports = !__webpack_require__(23)(function () {
	  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
	});


/***/ }),
/* 23 */
/***/ (function(module, exports) {

	module.exports = function (exec) {
	  try {
	    return !!exec();
	  } catch (e) {
	    return true;
	  }
	};


/***/ }),
/* 24 */
/***/ (function(module, exports, __webpack_require__) {

	var isObject = __webpack_require__(20);
	var document = __webpack_require__(13).document;
	// typeof document.createElement is 'object' in old IE
	var is = isObject(document) && isObject(document.createElement);
	module.exports = function (it) {
	  return is ? document.createElement(it) : {};
	};


/***/ }),
/* 25 */
/***/ (function(module, exports, __webpack_require__) {

	// 7.1.1 ToPrimitive(input [, PreferredType])
	var isObject = __webpack_require__(20);
	// instead of the ES6 spec version, we didn't implement @@toPrimitive case
	// and the second argument - flag - preferred type is a string
	module.exports = function (it, S) {
	  if (!isObject(it)) return it;
	  var fn, val;
	  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
	  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
	  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
	  throw TypeError("Can't convert object to primitive value");
	};


/***/ }),
/* 26 */
/***/ (function(module, exports) {

	module.exports = function (bitmap, value) {
	  return {
	    enumerable: !(bitmap & 1),
	    configurable: !(bitmap & 2),
	    writable: !(bitmap & 4),
	    value: value
	  };
	};


/***/ }),
/* 27 */
/***/ (function(module, exports, __webpack_require__) {

	module.exports = __webpack_require__(17);


/***/ }),
/* 28 */
/***/ (function(module, exports) {

	var hasOwnProperty = {}.hasOwnProperty;
	module.exports = function (it, key) {
	  return hasOwnProperty.call(it, key);
	};


/***/ }),
/* 29 */
/***/ (function(module, exports) {

	module.exports = {};


/***/ }),
/* 30 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';
	var create = __webpack_require__(31);
	var descriptor = __webpack_require__(26);
	var setToStringTag = __webpack_require__(46);
	var IteratorPrototype = {};

	// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
	__webpack_require__(17)(IteratorPrototype, __webpack_require__(47)('iterator'), function () { return this; });

	module.exports = function (Constructor, NAME, next) {
	  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
	  setToStringTag(Constructor, NAME + ' Iterator');
	};


/***/ }),
/* 31 */
/***/ (function(module, exports, __webpack_require__) {

	// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
	var anObject = __webpack_require__(19);
	var dPs = __webpack_require__(32);
	var enumBugKeys = __webpack_require__(44);
	var IE_PROTO = __webpack_require__(41)('IE_PROTO');
	var Empty = function () { /* empty */ };
	var PROTOTYPE = 'prototype';

	// Create object with fake `null` prototype: use iframe Object with cleared prototype
	var createDict = function () {
	  // Thrash, waste and sodomy: IE GC bug
	  var iframe = __webpack_require__(24)('iframe');
	  var i = enumBugKeys.length;
	  var lt = '<';
	  var gt = '>';
	  var iframeDocument;
	  iframe.style.display = 'none';
	  __webpack_require__(45).appendChild(iframe);
	  iframe.src = 'javascript:'; // eslint-disable-line no-script-url
	  // createDict = iframe.contentWindow.Object;
	  // html.removeChild(iframe);
	  iframeDocument = iframe.contentWindow.document;
	  iframeDocument.open();
	  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
	  iframeDocument.close();
	  createDict = iframeDocument.F;
	  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
	  return createDict();
	};

	module.exports = Object.create || function create(O, Properties) {
	  var result;
	  if (O !== null) {
	    Empty[PROTOTYPE] = anObject(O);
	    result = new Empty();
	    Empty[PROTOTYPE] = null;
	    // add "__proto__" for Object.getPrototypeOf polyfill
	    result[IE_PROTO] = O;
	  } else result = createDict();
	  return Properties === undefined ? result : dPs(result, Properties);
	};


/***/ }),
/* 32 */
/***/ (function(module, exports, __webpack_require__) {

	var dP = __webpack_require__(18);
	var anObject = __webpack_require__(19);
	var getKeys = __webpack_require__(33);

	module.exports = __webpack_require__(22) ? Object.defineProperties : function defineProperties(O, Properties) {
	  anObject(O);
	  var keys = getKeys(Properties);
	  var length = keys.length;
	  var i = 0;
	  var P;
	  while (length > i) dP.f(O, P = keys[i++], Properties[P]);
	  return O;
	};


/***/ }),
/* 33 */
/***/ (function(module, exports, __webpack_require__) {

	// 19.1.2.14 / 15.2.3.14 Object.keys(O)
	var $keys = __webpack_require__(34);
	var enumBugKeys = __webpack_require__(44);

	module.exports = Object.keys || function keys(O) {
	  return $keys(O, enumBugKeys);
	};


/***/ }),
/* 34 */
/***/ (function(module, exports, __webpack_require__) {

	var has = __webpack_require__(28);
	var toIObject = __webpack_require__(35);
	var arrayIndexOf = __webpack_require__(38)(false);
	var IE_PROTO = __webpack_require__(41)('IE_PROTO');

	module.exports = function (object, names) {
	  var O = toIObject(object);
	  var i = 0;
	  var result = [];
	  var key;
	  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
	  // Don't enum bug & hidden keys
	  while (names.length > i) if (has(O, key = names[i++])) {
	    ~arrayIndexOf(result, key) || result.push(key);
	  }
	  return result;
	};


/***/ }),
/* 35 */
/***/ (function(module, exports, __webpack_require__) {

	// to indexed object, toObject with fallback for non-array-like ES3 strings
	var IObject = __webpack_require__(36);
	var defined = __webpack_require__(9);
	module.exports = function (it) {
	  return IObject(defined(it));
	};


/***/ }),
/* 36 */
/***/ (function(module, exports, __webpack_require__) {

	// fallback for non-array-like ES3 and non-enumerable old V8 strings
	var cof = __webpack_require__(37);
	// eslint-disable-next-line no-prototype-builtins
	module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
	  return cof(it) == 'String' ? it.split('') : Object(it);
	};


/***/ }),
/* 37 */
/***/ (function(module, exports) {

	var toString = {}.toString;

	module.exports = function (it) {
	  return toString.call(it).slice(8, -1);
	};


/***/ }),
/* 38 */
/***/ (function(module, exports, __webpack_require__) {

	// false -> Array#indexOf
	// true  -> Array#includes
	var toIObject = __webpack_require__(35);
	var toLength = __webpack_require__(39);
	var toAbsoluteIndex = __webpack_require__(40);
	module.exports = function (IS_INCLUDES) {
	  return function ($this, el, fromIndex) {
	    var O = toIObject($this);
	    var length = toLength(O.length);
	    var index = toAbsoluteIndex(fromIndex, length);
	    var value;
	    // Array#includes uses SameValueZero equality algorithm
	    // eslint-disable-next-line no-self-compare
	    if (IS_INCLUDES && el != el) while (length > index) {
	      value = O[index++];
	      // eslint-disable-next-line no-self-compare
	      if (value != value) return true;
	    // Array#indexOf ignores holes, Array#includes - not
	    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
	      if (O[index] === el) return IS_INCLUDES || index || 0;
	    } return !IS_INCLUDES && -1;
	  };
	};


/***/ }),
/* 39 */
/***/ (function(module, exports, __webpack_require__) {

	// 7.1.15 ToLength
	var toInteger = __webpack_require__(8);
	var min = Math.min;
	module.exports = function (it) {
	  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
	};


/***/ }),
/* 40 */
/***/ (function(module, exports, __webpack_require__) {

	var toInteger = __webpack_require__(8);
	var max = Math.max;
	var min = Math.min;
	module.exports = function (index, length) {
	  index = toInteger(index);
	  return index < 0 ? max(index + length, 0) : min(index, length);
	};


/***/ }),
/* 41 */
/***/ (function(module, exports, __webpack_require__) {

	var shared = __webpack_require__(42)('keys');
	var uid = __webpack_require__(43);
	module.exports = function (key) {
	  return shared[key] || (shared[key] = uid(key));
	};


/***/ }),
/* 42 */
/***/ (function(module, exports, __webpack_require__) {

	var global = __webpack_require__(13);
	var SHARED = '__core-js_shared__';
	var store = global[SHARED] || (global[SHARED] = {});
	module.exports = function (key) {
	  return store[key] || (store[key] = {});
	};


/***/ }),
/* 43 */
/***/ (function(module, exports) {

	var id = 0;
	var px = Math.random();
	module.exports = function (key) {
	  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
	};


/***/ }),
/* 44 */
/***/ (function(module, exports) {

	// IE 8- don't enum bug keys
	module.exports = (
	  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
	).split(',');


/***/ }),
/* 45 */
/***/ (function(module, exports, __webpack_require__) {

	var document = __webpack_require__(13).document;
	module.exports = document && document.documentElement;


/***/ }),
/* 46 */
/***/ (function(module, exports, __webpack_require__) {

	var def = __webpack_require__(18).f;
	var has = __webpack_require__(28);
	var TAG = __webpack_require__(47)('toStringTag');

	module.exports = function (it, tag, stat) {
	  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
	};


/***/ }),
/* 47 */
/***/ (function(module, exports, __webpack_require__) {

	var store = __webpack_require__(42)('wks');
	var uid = __webpack_require__(43);
	var Symbol = __webpack_require__(13).Symbol;
	var USE_SYMBOL = typeof Symbol == 'function';

	var $exports = module.exports = function (name) {
	  return store[name] || (store[name] =
	    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
	};

	$exports.store = store;


/***/ }),
/* 48 */
/***/ (function(module, exports, __webpack_require__) {

	// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
	var has = __webpack_require__(28);
	var toObject = __webpack_require__(49);
	var IE_PROTO = __webpack_require__(41)('IE_PROTO');
	var ObjectProto = Object.prototype;

	module.exports = Object.getPrototypeOf || function (O) {
	  O = toObject(O);
	  if (has(O, IE_PROTO)) return O[IE_PROTO];
	  if (typeof O.constructor == 'function' && O instanceof O.constructor) {
	    return O.constructor.prototype;
	  } return O instanceof Object ? ObjectProto : null;
	};


/***/ }),
/* 49 */
/***/ (function(module, exports, __webpack_require__) {

	// 7.1.13 ToObject(argument)
	var defined = __webpack_require__(9);
	module.exports = function (it) {
	  return Object(defined(it));
	};


/***/ }),
/* 50 */
/***/ (function(module, exports, __webpack_require__) {

	__webpack_require__(51);
	var global = __webpack_require__(13);
	var hide = __webpack_require__(17);
	var Iterators = __webpack_require__(29);
	var TO_STRING_TAG = __webpack_require__(47)('toStringTag');

	var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
	  'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
	  'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
	  'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
	  'TextTrackList,TouchList').split(',');

	for (var i = 0; i < DOMIterables.length; i++) {
	  var NAME = DOMIterables[i];
	  var Collection = global[NAME];
	  var proto = Collection && Collection.prototype;
	  if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
	  Iterators[NAME] = Iterators.Array;
	}


/***/ }),
/* 51 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';
	var addToUnscopables = __webpack_require__(52);
	var step = __webpack_require__(53);
	var Iterators = __webpack_require__(29);
	var toIObject = __webpack_require__(35);

	// 22.1.3.4 Array.prototype.entries()
	// 22.1.3.13 Array.prototype.keys()
	// 22.1.3.29 Array.prototype.values()
	// 22.1.3.30 Array.prototype[@@iterator]()
	module.exports = __webpack_require__(10)(Array, 'Array', function (iterated, kind) {
	  this._t = toIObject(iterated); // target
	  this._i = 0;                   // next index
	  this._k = kind;                // kind
	// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
	}, function () {
	  var O = this._t;
	  var kind = this._k;
	  var index = this._i++;
	  if (!O || index >= O.length) {
	    this._t = undefined;
	    return step(1);
	  }
	  if (kind == 'keys') return step(0, index);
	  if (kind == 'values') return step(0, O[index]);
	  return step(0, [index, O[index]]);
	}, 'values');

	// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
	Iterators.Arguments = Iterators.Array;

	addToUnscopables('keys');
	addToUnscopables('values');
	addToUnscopables('entries');


/***/ }),
/* 52 */
/***/ (function(module, exports) {

	module.exports = function () { /* empty */ };


/***/ }),
/* 53 */
/***/ (function(module, exports) {

	module.exports = function (done, value) {
	  return { value: value, done: !!done };
	};


/***/ }),
/* 54 */
/***/ (function(module, exports, __webpack_require__) {

	exports.f = __webpack_require__(47);


/***/ }),
/* 55 */
/***/ (function(module, exports, __webpack_require__) {

	module.exports = { "default": __webpack_require__(56), __esModule: true };

/***/ }),
/* 56 */
/***/ (function(module, exports, __webpack_require__) {

	__webpack_require__(57);
	__webpack_require__(67);
	__webpack_require__(68);
	__webpack_require__(69);
	module.exports = __webpack_require__(14).Symbol;


/***/ }),
/* 57 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';
	// ECMAScript 6 symbols shim
	var global = __webpack_require__(13);
	var has = __webpack_require__(28);
	var DESCRIPTORS = __webpack_require__(22);
	var $export = __webpack_require__(12);
	var redefine = __webpack_require__(27);
	var META = __webpack_require__(58).KEY;
	var $fails = __webpack_require__(23);
	var shared = __webpack_require__(42);
	var setToStringTag = __webpack_require__(46);
	var uid = __webpack_require__(43);
	var wks = __webpack_require__(47);
	var wksExt = __webpack_require__(54);
	var wksDefine = __webpack_require__(59);
	var enumKeys = __webpack_require__(60);
	var isArray = __webpack_require__(63);
	var anObject = __webpack_require__(19);
	var isObject = __webpack_require__(20);
	var toIObject = __webpack_require__(35);
	var toPrimitive = __webpack_require__(25);
	var createDesc = __webpack_require__(26);
	var _create = __webpack_require__(31);
	var gOPNExt = __webpack_require__(64);
	var $GOPD = __webpack_require__(66);
	var $DP = __webpack_require__(18);
	var $keys = __webpack_require__(33);
	var gOPD = $GOPD.f;
	var dP = $DP.f;
	var gOPN = gOPNExt.f;
	var $Symbol = global.Symbol;
	var $JSON = global.JSON;
	var _stringify = $JSON && $JSON.stringify;
	var PROTOTYPE = 'prototype';
	var HIDDEN = wks('_hidden');
	var TO_PRIMITIVE = wks('toPrimitive');
	var isEnum = {}.propertyIsEnumerable;
	var SymbolRegistry = shared('symbol-registry');
	var AllSymbols = shared('symbols');
	var OPSymbols = shared('op-symbols');
	var ObjectProto = Object[PROTOTYPE];
	var USE_NATIVE = typeof $Symbol == 'function';
	var QObject = global.QObject;
	// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
	var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;

	// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
	var setSymbolDesc = DESCRIPTORS && $fails(function () {
	  return _create(dP({}, 'a', {
	    get: function () { return dP(this, 'a', { value: 7 }).a; }
	  })).a != 7;
	}) ? function (it, key, D) {
	  var protoDesc = gOPD(ObjectProto, key);
	  if (protoDesc) delete ObjectProto[key];
	  dP(it, key, D);
	  if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
	} : dP;

	var wrap = function (tag) {
	  var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
	  sym._k = tag;
	  return sym;
	};

	var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
	  return typeof it == 'symbol';
	} : function (it) {
	  return it instanceof $Symbol;
	};

	var $defineProperty = function defineProperty(it, key, D) {
	  if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
	  anObject(it);
	  key = toPrimitive(key, true);
	  anObject(D);
	  if (has(AllSymbols, key)) {
	    if (!D.enumerable) {
	      if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
	      it[HIDDEN][key] = true;
	    } else {
	      if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
	      D = _create(D, { enumerable: createDesc(0, false) });
	    } return setSymbolDesc(it, key, D);
	  } return dP(it, key, D);
	};
	var $defineProperties = function defineProperties(it, P) {
	  anObject(it);
	  var keys = enumKeys(P = toIObject(P));
	  var i = 0;
	  var l = keys.length;
	  var key;
	  while (l > i) $defineProperty(it, key = keys[i++], P[key]);
	  return it;
	};
	var $create = function create(it, P) {
	  return P === undefined ? _create(it) : $defineProperties(_create(it), P);
	};
	var $propertyIsEnumerable = function propertyIsEnumerable(key) {
	  var E = isEnum.call(this, key = toPrimitive(key, true));
	  if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
	  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
	};
	var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
	  it = toIObject(it);
	  key = toPrimitive(key, true);
	  if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
	  var D = gOPD(it, key);
	  if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
	  return D;
	};
	var $getOwnPropertyNames = function getOwnPropertyNames(it) {
	  var names = gOPN(toIObject(it));
	  var result = [];
	  var i = 0;
	  var key;
	  while (names.length > i) {
	    if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
	  } return result;
	};
	var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
	  var IS_OP = it === ObjectProto;
	  var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
	  var result = [];
	  var i = 0;
	  var key;
	  while (names.length > i) {
	    if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
	  } return result;
	};

	// 19.4.1.1 Symbol([description])
	if (!USE_NATIVE) {
	  $Symbol = function Symbol() {
	    if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
	    var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
	    var $set = function (value) {
	      if (this === ObjectProto) $set.call(OPSymbols, value);
	      if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
	      setSymbolDesc(this, tag, createDesc(1, value));
	    };
	    if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
	    return wrap(tag);
	  };
	  redefine($Symbol[PROTOTYPE], 'toString', function toString() {
	    return this._k;
	  });

	  $GOPD.f = $getOwnPropertyDescriptor;
	  $DP.f = $defineProperty;
	  __webpack_require__(65).f = gOPNExt.f = $getOwnPropertyNames;
	  __webpack_require__(62).f = $propertyIsEnumerable;
	  __webpack_require__(61).f = $getOwnPropertySymbols;

	  if (DESCRIPTORS && !__webpack_require__(11)) {
	    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
	  }

	  wksExt.f = function (name) {
	    return wrap(wks(name));
	  };
	}

	$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });

	for (var es6Symbols = (
	  // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
	  'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
	).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);

	for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);

	$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
	  // 19.4.2.1 Symbol.for(key)
	  'for': function (key) {
	    return has(SymbolRegistry, key += '')
	      ? SymbolRegistry[key]
	      : SymbolRegistry[key] = $Symbol(key);
	  },
	  // 19.4.2.5 Symbol.keyFor(sym)
	  keyFor: function keyFor(sym) {
	    if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
	    for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
	  },
	  useSetter: function () { setter = true; },
	  useSimple: function () { setter = false; }
	});

	$export($export.S + $export.F * !USE_NATIVE, 'Object', {
	  // 19.1.2.2 Object.create(O [, Properties])
	  create: $create,
	  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
	  defineProperty: $defineProperty,
	  // 19.1.2.3 Object.defineProperties(O, Properties)
	  defineProperties: $defineProperties,
	  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
	  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
	  // 19.1.2.7 Object.getOwnPropertyNames(O)
	  getOwnPropertyNames: $getOwnPropertyNames,
	  // 19.1.2.8 Object.getOwnPropertySymbols(O)
	  getOwnPropertySymbols: $getOwnPropertySymbols
	});

	// 24.3.2 JSON.stringify(value [, replacer [, space]])
	$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
	  var S = $Symbol();
	  // MS Edge converts symbol values to JSON as {}
	  // WebKit converts symbol values to JSON as null
	  // V8 throws on boxed symbols
	  return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
	})), 'JSON', {
	  stringify: function stringify(it) {
	    var args = [it];
	    var i = 1;
	    var replacer, $replacer;
	    while (arguments.length > i) args.push(arguments[i++]);
	    $replacer = replacer = args[1];
	    if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
	    if (!isArray(replacer)) replacer = function (key, value) {
	      if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
	      if (!isSymbol(value)) return value;
	    };
	    args[1] = replacer;
	    return _stringify.apply($JSON, args);
	  }
	});

	// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
	$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(17)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
	// 19.4.3.5 Symbol.prototype[@@toStringTag]
	setToStringTag($Symbol, 'Symbol');
	// 20.2.1.9 Math[@@toStringTag]
	setToStringTag(Math, 'Math', true);
	// 24.3.3 JSON[@@toStringTag]
	setToStringTag(global.JSON, 'JSON', true);


/***/ }),
/* 58 */
/***/ (function(module, exports, __webpack_require__) {

	var META = __webpack_require__(43)('meta');
	var isObject = __webpack_require__(20);
	var has = __webpack_require__(28);
	var setDesc = __webpack_require__(18).f;
	var id = 0;
	var isExtensible = Object.isExtensible || function () {
	  return true;
	};
	var FREEZE = !__webpack_require__(23)(function () {
	  return isExtensible(Object.preventExtensions({}));
	});
	var setMeta = function (it) {
	  setDesc(it, META, { value: {
	    i: 'O' + ++id, // object ID
	    w: {}          // weak collections IDs
	  } });
	};
	var fastKey = function (it, create) {
	  // return primitive with prefix
	  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
	  if (!has(it, META)) {
	    // can't set metadata to uncaught frozen object
	    if (!isExtensible(it)) return 'F';
	    // not necessary to add metadata
	    if (!create) return 'E';
	    // add missing metadata
	    setMeta(it);
	  // return object ID
	  } return it[META].i;
	};
	var getWeak = function (it, create) {
	  if (!has(it, META)) {
	    // can't set metadata to uncaught frozen object
	    if (!isExtensible(it)) return true;
	    // not necessary to add metadata
	    if (!create) return false;
	    // add missing metadata
	    setMeta(it);
	  // return hash weak collections IDs
	  } return it[META].w;
	};
	// add metadata on freeze-family methods calling
	var onFreeze = function (it) {
	  if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
	  return it;
	};
	var meta = module.exports = {
	  KEY: META,
	  NEED: false,
	  fastKey: fastKey,
	  getWeak: getWeak,
	  onFreeze: onFreeze
	};


/***/ }),
/* 59 */
/***/ (function(module, exports, __webpack_require__) {

	var global = __webpack_require__(13);
	var core = __webpack_require__(14);
	var LIBRARY = __webpack_require__(11);
	var wksExt = __webpack_require__(54);
	var defineProperty = __webpack_require__(18).f;
	module.exports = function (name) {
	  var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
	  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
	};


/***/ }),
/* 60 */
/***/ (function(module, exports, __webpack_require__) {

	// all enumerable object keys, includes symbols
	var getKeys = __webpack_require__(33);
	var gOPS = __webpack_require__(61);
	var pIE = __webpack_require__(62);
	module.exports = function (it) {
	  var result = getKeys(it);
	  var getSymbols = gOPS.f;
	  if (getSymbols) {
	    var symbols = getSymbols(it);
	    var isEnum = pIE.f;
	    var i = 0;
	    var key;
	    while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
	  } return result;
	};


/***/ }),
/* 61 */
/***/ (function(module, exports) {

	exports.f = Object.getOwnPropertySymbols;


/***/ }),
/* 62 */
/***/ (function(module, exports) {

	exports.f = {}.propertyIsEnumerable;


/***/ }),
/* 63 */
/***/ (function(module, exports, __webpack_require__) {

	// 7.2.2 IsArray(argument)
	var cof = __webpack_require__(37);
	module.exports = Array.isArray || function isArray(arg) {
	  return cof(arg) == 'Array';
	};


/***/ }),
/* 64 */
/***/ (function(module, exports, __webpack_require__) {

	// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
	var toIObject = __webpack_require__(35);
	var gOPN = __webpack_require__(65).f;
	var toString = {}.toString;

	var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
	  ? Object.getOwnPropertyNames(window) : [];

	var getWindowNames = function (it) {
	  try {
	    return gOPN(it);
	  } catch (e) {
	    return windowNames.slice();
	  }
	};

	module.exports.f = function getOwnPropertyNames(it) {
	  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
	};


/***/ }),
/* 65 */
/***/ (function(module, exports, __webpack_require__) {

	// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
	var $keys = __webpack_require__(34);
	var hiddenKeys = __webpack_require__(44).concat('length', 'prototype');

	exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
	  return $keys(O, hiddenKeys);
	};


/***/ }),
/* 66 */
/***/ (function(module, exports, __webpack_require__) {

	var pIE = __webpack_require__(62);
	var createDesc = __webpack_require__(26);
	var toIObject = __webpack_require__(35);
	var toPrimitive = __webpack_require__(25);
	var has = __webpack_require__(28);
	var IE8_DOM_DEFINE = __webpack_require__(21);
	var gOPD = Object.getOwnPropertyDescriptor;

	exports.f = __webpack_require__(22) ? gOPD : function getOwnPropertyDescriptor(O, P) {
	  O = toIObject(O);
	  P = toPrimitive(P, true);
	  if (IE8_DOM_DEFINE) try {
	    return gOPD(O, P);
	  } catch (e) { /* empty */ }
	  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
	};


/***/ }),
/* 67 */
/***/ (function(module, exports) {

	

/***/ }),
/* 68 */
/***/ (function(module, exports, __webpack_require__) {

	__webpack_require__(59)('asyncIterator');


/***/ }),
/* 69 */
/***/ (function(module, exports, __webpack_require__) {

	__webpack_require__(59)('observable');


/***/ }),
/* 70 */
/***/ (function(module, exports) {

	"use strict";

	/**
	 * Created by qlx on 2016/11/22.
	 */

	exports.urlToDic = function (url) {
	    var obj = {};
	    if (typeof url == "string") {
	        var search = url.substring(url.lastIndexOf("?") + 1);
	        var reg = /([^?&=]+)=([^?&=]*)/g;
	        search.replace(reg, function (rs, $1, $2) {
	            var name = decodeURIComponent($1);
	            var val = decodeURIComponent($2);
	            val = String(val);
	            obj[name] = val;
	            return rs;
	        });
	    }
	    return obj;
	};

	exports.valueFromDic = function (dic, keys) {
	    if (dic instanceof Object && keys instanceof Object) {
	        var cur = dic;
	        for (var key in keys) {
	            var value = keys[key];
	            if (cur && cur instanceof Object) {
	                cur = cur[value];
	            } else {
	                return null;
	            }
	        }
	        return cur;
	    }
	    return null;
	};

	exports.intToWStr = function (num) {
	    var integerNum = parseInt(num);
	    if (!isNaN(integerNum)) {
	        if (integerNum >= 10000) {
	            var fNum = integerNum / 10000.0;
	            return fNum.toFixed(1).toString() + 'W';
	        } else {
	            return integerNum.toString();
	        }
	    }
	    return '0';
	};

	exports.dateToFormat = function (dateTimeStamp) {
	    dateTimeStamp = parseInt(dateTimeStamp) * 1000;
	    var minute = 1000 * 60;
	    var hour = minute * 60;
	    var day = hour * 24;
	    var month = day * 30;
	    var year = 12 * month;
	    var now = new Date().getTime();
	    var diffValue = now - dateTimeStamp;
	    if (diffValue < 0) {
	        return;
	    }

	    var yearC = diffValue / year;
	    var monthC = diffValue / month;
	    var weekC = diffValue / (7 * day);
	    var dayC = diffValue / day;
	    var hourC = diffValue / hour;
	    var minC = diffValue / minute;
	    var result = "刚刚";
	    if (yearC >= 1) {
	        if (yearC > 30) {
	            return "";
	        }
	        result = "" + parseInt(yearC) + "年前";
	    } else if (monthC >= 1) {
	        result = "" + parseInt(monthC) + "月前";
	    } else if (weekC >= 1) {
	        result = "" + parseInt(weekC) + "周前";
	    } else if (dayC >= 1) {
	        result = "" + parseInt(dayC) + "天前";
	    } else if (hourC >= 1) {
	        result = "" + parseInt(hourC) + "小时前";
	    } else if (minC >= 1) {
	        result = "" + parseInt(minC) + "分钟前";
	    }
	    return result;
	};

	exports.dateWithFormat = function (date, format) {
	    var o = {
	        "M+": date.getMonth() + 1, //month
	        "d+": date.getDate(), //day
	        "h+": date.getHours(), //hour
	        "m+": date.getMinutes(), //minute
	        "s+": date.getSeconds(), //second
	        "q+": Math.floor((date.getMonth() + 3) / 3), //quarter
	        "S": date.getMilliseconds() //millisecond
	    };
	    if (/(y+)/.test(format)) format = format.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length));
	    for (var k in o) {
	        if (new RegExp("(" + k + ")").test(format)) format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
	    }return format;
	};

/***/ }),
/* 71 */
/***/ (function(module, exports, __webpack_require__) {

	var __vue_exports__, __vue_options__
	var __vue_styles__ = []

	/* script */
	__vue_exports__ = __webpack_require__(72)

	/* template */
	var __vue_template__ = __webpack_require__(73)
	__vue_options__ = __vue_exports__ = __vue_exports__ || {}
	if (
	  typeof __vue_exports__.default === "object" ||
	  typeof __vue_exports__.default === "function"
	) {
	if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
	__vue_options__ = __vue_exports__ = __vue_exports__.default
	}
	if (typeof __vue_options__ === "function") {
	  __vue_options__ = __vue_options__.options
	}
	__vue_options__.__file = "/Users/wyatt/Desktop/Work Project/doufu_php/web/api.doufu.diaobao.la/weex/TFBookShelf/tf-offline.vue"
	__vue_options__.render = __vue_template__.render
	__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
	__vue_options__.style = __vue_options__.style || {}
	__vue_styles__.forEach(function (module) {
	  for (var name in module) {
	    __vue_options__.style[name] = module[name]
	  }
	})
	if (typeof __register_static_styles__ === "function") {
	  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
	}

	module.exports = __vue_exports__


/***/ }),
/* 72 */
/***/ (function(module, exports) {

	'use strict';

	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//


	var bridge = weex.requireModule('bridge');

	module.exports = {
	    props: {
	        mData: {
	            default: function _default() {
	                return {};
	            }
	        },
	        title: {
	            default: ''
	        },
	        subTitle: {
	            default: ''
	        },

	        optionIconRatateDeg: {
	            default: 0
	        },

	        item: {
	            default: {}
	        }
	    },

	    created: function created() {
	        this.setItem();
	    },

	    watch: {
	        item: function item() {
	            this.setItem();
	        }
	    },
	    mounted: function mounted() {
	        var self = this;
	        var notify = weex.requireModule('notify');
	        notify.addNotify('TFOffLineOptionClose', function (e) {
	            self.toRotateOptionIcon(false);
	        });
	    },

	    methods: {
	        setItem: function setItem() {
	            var v = this.item.data;
	            bridge.ZLLog(v);
	            this.mData = v;
	            this.title = v.title;
	            this.subTitle = v.subTitle;
	            this.detail = v.detail;
	        },


	        toRotateOptionIcon: function toRotateOptionIcon(open) {
	            var deg = open ? -180 : 0;

	            if (deg == this.optionIconRatateDeg) {
	                return;
	            }
	            this.optionIconRatateDeg = deg;
	            var rotate = 'rotate(' + deg + 'deg)';

	            var animation = weex.requireModule('animation');
	            var icon = this.$refs['option_icon'];
	            animation.transition(icon, {
	                styles: {
	                    transform: rotate
	                },
	                timingFuncion: 'ease-out',
	                duration: 300
	            }, null);
	        },

	        onReadNovel: function onReadNovel(e) {

	            var modal = weex.requireModule('modal');
	            var bridge = weex.requireModule('bridge');
	            var self = this;
	            bridge.uid(function (res) {
	                var uid = res.uid;
	                var cache = weex.requireModule('cache');
	                var key = 'TFOffLineCache_' + uid + '_' + self.mData.data.id;
	                cache.get(key, function (value) {
	                    if (value && value.catelog) {
	                        if (bridge.openNovel) {
	                            bridge.openNovel(self.mData.data.id, function () {
	                                var event = weex.requireModule('event');
	                                var id = self.mData.data.id;
	                                if (id) {
	                                    event.openURL('TFNovel/TFOffLine.js?present=1&id=' + id + '&needLogin=1&list=1');
	                                }
	                            });
	                        } else {
	                            bridge.openPage({ id: 7, param: { offline: value, fromIndex: -1 } }, function (res) {});
	                        }
	                    } else {
	                        //本地没有 去下载
	                        var event = weex.requireModule('event');
	                        var id = self.mData.data.id;
	                        if (id) {
	                            //                                var eventName = 'TFOfflineItemDownloadSuccess_' + id;
	                            //                                var notify = __weex_require_module__('notify');
	                            //                                notify.addNotify('');

	                            event.openURL('TFNovel/TFOffLine.js?present=1&id=' + id + '&needLogin=1&list=1');
	                        }
	                    }
	                });
	            });
	        },

	        onClickOption: function onClickOption(e) {
	            this.toRotateOptionIcon(true);
	            //
	            var event = weex.requireModule('event');
	            var id = this.mData.data.id;
	            event.openURL('TFBookShelf/TFOffLineOption.js?present=1&id=' + id);
	            //                var self = this;
	            //                var modal = __weex_require_module__('modal');
	            //                modal.confirm({
	            //                    'message': '确定要删除吗？',
	            //                    'okTitle': '确定',
	            //                    'cancelTitle': '取消'
	            //                }, function (e) {
	            //                    if(e == '确定'){
	            //                        self.toRequestDelete();
	            //
	            //                    }
	            //
	            //
	            //                });
	        },
	        //删除
	        toRequestDelete: function toRequestDelete() {
	            var self = this;
	            var topic_id = this.mData.id;
	            var modal = weex.requireModule('modal');
	            if (topic_id > 0) {
	                var url = 'new_user/new_user/buy_record_remove';
	                var http = weex.requireModule('http');
	                http.requestGet(url, { topic_id: topic_id }, function (res) {
	                    if (!res.ok) {

	                        modal.toast({ message: '网络异常' });
	                        return;
	                    }
	                    var json = res.data;
	                    if (json.status == 0) {
	                        modal.toast({ message: '删除成功' });
	                        var notify = weex.requireModule('notify');
	                        notify.postNotify('TFBuyRecordRmoveSuccess', self.mData);
	                    } else {
	                        modal.toast({ message: json.user_msg });
	                    }
	                });
	            }
	        },
	        onClickCell: function onClickCell() {
	            var topic_id = this.mData.id;
	            if (topic_id) {
	                var bridge = weex.requireModule('bridge');
	                if (bridge.openNovelDetails) {
	                    bridge.openNovelDetails({ id: topic_id });
	                } else {
	                    bridge.openUrl({ url: 'TFNovel/TFNovelDetail.js?id=' + topic_id });
	                }
	            }
	        }
	    }
	};

/***/ }),
/* 73 */
/***/ (function(module, exports) {

	module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    staticStyle: {
	      backgroundColor: "fg|fg",
	      flexDirection: "row",
	      alignItems: "center"
	    },
	    appendAsTree: true,
	    attrs: {
	      "append": "tree"
	    },
	    on: {
	      "click": _vm.onClickCell
	    }
	  }, [_c('div', {
	    staticStyle: {
	      flex: "1",
	      backgroundColor: "transparent"
	    },
	    on: {
	      "click": _vm.onReadNovel
	    }
	  }, [_c('text', {
	    staticStyle: {
	      marginTop: "14wx",
	      marginLeft: "15wx",
	      fontSize: "16wx",
	      color: "#555555|text"
	    }
	  }, [_vm._v(_vm._s(_vm.title))]), _c('text', {
	    staticStyle: {
	      marginTop: "14wx",
	      marginLeft: "15wx",
	      marginBottom: "15wx",
	      fontSize: "10wx",
	      color: "#9e9e9e|text"
	    }
	  }, [_vm._v(_vm._s(_vm.subTitle))])]), _c('div', {
	    staticStyle: {
	      justifyContent: "center",
	      alignItems: "center"
	    }
	  }, [_c('text', {
	    staticStyle: {
	      marginLeft: "10wx",
	      color: "#9e9e9e|text",
	      fontSize: "15wx"
	    }
	  }, [_vm._v(_vm._s(_vm.detail))])]), _c('div', {
	    staticStyle: {
	      width: "60wx",
	      justifyContent: "center",
	      alignItems: "center"
	    },
	    on: {
	      "click": _vm.onClickOption
	    }
	  }, [_c('image', {
	    ref: "option_icon",
	    staticStyle: {
	      width: "20wx",
	      height: "20wx",
	      opacity: "1|0.5"
	    },
	    attrs: {
	      "src": "https://api.doufu.la/weex/App/images/btn_article_more@3x.png"
	    }
	  })]), _c('div', {
	    staticStyle: {
	      position: "absolute",
	      left: "10wx",
	      bottom: "0",
	      right: "0",
	      height: "1",
	      backgroundColor: "sep|sep"
	    }
	  })])
	},staticRenderFns: []}
	module.exports.render._withStripped = true

/***/ }),
/* 74 */
/***/ (function(module, exports, __webpack_require__) {

	var __vue_exports__, __vue_options__
	var __vue_styles__ = []

	/* script */
	__vue_exports__ = __webpack_require__(75)

	/* template */
	var __vue_template__ = __webpack_require__(76)
	__vue_options__ = __vue_exports__ = __vue_exports__ || {}
	if (
	  typeof __vue_exports__.default === "object" ||
	  typeof __vue_exports__.default === "function"
	) {
	if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
	__vue_options__ = __vue_exports__ = __vue_exports__.default
	}
	if (typeof __vue_options__ === "function") {
	  __vue_options__ = __vue_options__.options
	}
	__vue_options__.__file = "/Users/wyatt/Desktop/Work Project/doufu_php/web/api.doufu.diaobao.la/weex/common/tf-nav.vue"
	__vue_options__.render = __vue_template__.render
	__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
	__vue_options__.style = __vue_options__.style || {}
	__vue_styles__.forEach(function (module) {
	  for (var name in module) {
	    __vue_options__.style[name] = module[name]
	  }
	})
	if (typeof __register_static_styles__ === "function") {
	  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
	}

	module.exports = __vue_exports__


/***/ }),
/* 75 */
/***/ (function(module, exports, __webpack_require__) {

	'use strict';

	var _index = __webpack_require__(2);

	var _index2 = _interopRequireDefault(_index);

	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//
	//

	var bridge = weex.requireModule('bridge');
	var modal = weex.requireModule('modal');

	module.exports = {
	    data: function data() {
	        return {
	            mTitle: '',
	            mColor: '#ffffff|#212222',
	            mTintColor: '#563f3f|#898989',
	            mRightItemTitle: '',
	            mRightItemImage: '',
	            mRightItemWidth: '',
	            mRightItemHeight: '',

	            mRightItemImageShow: false,
	            mRightItemTitleShow: false,
	            mBackImage: 'http://weex.doufu.la/images/arrow_nav_back_black@2x.png|http://weex.doufu.la/images/arrow_nav_back_black_night@2x.png',
	            leftItemShow: true,
	            centerItemShow: false,
	            rightItemShow: false,
	            mBottomLineColor: '#aaaaaa|sep',
	            leftBgOpatity: 0,
	            changeOpatityHeight: 0,
	            curoffsety: 0,
	            m_offsetY: 0,
	            m_changeOptityHeight: 0
	        };
	    },


	    props: ['title', 'backImage', 'rightItem', 'rightItemTitle', 'curoffsety', 'changeopatityheight', 'color', 'tintColor', 'bottomLineColor'],

	    created: function created() {

	        this.initData();
	    },
	    mounted: function mounted() {},


	    watch: {
	        title: function title() {
	            this.mTitle = this.title;
	            this.centerItemShow = this.title != null;
	        },
	        backImage: function backImage() {
	            this.mBackImage = this.backImage;
	            this.leftItemShow = this.backImage != null;
	        },
	        rightItem: function rightItem() {
	            if (this.rightItem instanceof Object) {
	                this.rightItemTitle = this.rightItem.title;
	                this.mRightItemImage = this.rightItem.image;
	                this.mRightItemWidth = this.rightItem.width;
	                this.mRightItemHeight = this.rightItem.height;

	                this.mRightItemImageShow = this.mRightItemImage != null;
	                this.mRightItemTitleShow = this.mRightItemTitle != null;
	                this.rightItemShow = this.mRightItemImageShow || this.mRightItemTitleShow;
	            }
	        },
	        curoffsety: function curoffsety() {
	            var v = this.curoffsety;
	            this.m_offsetY = this.curoffsety;
	            var offsety = -this.m_offsetY;

	            if (offsety > this.m_changeOptityHeight) {
	                this.leftBgOpatity = 0.2;
	            } else if (this.m_changeOptityHeight > 100 && this.m_changeOptityHeight - 50 < offsety && offsety < this.m_changeOptityHeight) {
	                this.leftBgOpatity = 0.2 * (this.m_changeOptityHeight - offsety) / this.m_changeOptityHeight;
	            } else {
	                this.leftBgOpatity = 0;
	            }
	        },
	        changeopatityheight: function changeopatityheight() {
	            this.m_changeOptityHeight = this.changeopatityheight;
	        },
	        rightItemTitle: function rightItemTitle() {
	            this.mRightItemTitleShow = true;
	            this.mRightItemImageShow = false;
	            this.mRightItemTitle = v;
	            this.rightItemShow = this.mRightItemImageShow || this.mRightItemTitleShow;
	        }
	    },

	    computed: {
	        navigationBarHeight: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                if (this.isX) {
	                    return '88wx';
	                }
	                return env.platform == 'iOS' || env.osVersion >= 5.0 || env.osVersion >= '5.0' ? '64wx' : '44wx';
	            }
	        },
	        topHeight: {
	            get: function get() {
	                var env = this.$getConfig().env;
	                if (this.isX) {
	                    return '44wx';
	                }
	                return env.platform == 'iOS' || env.osVersion >= 5.0 || env.osVersion >= '5.0' ? '20wx' : '0';
	            }
	        },
	        isX: {
	            get: function get() {
	                return _index2.default.env.isIPhoneX();
	            }
	        },
	        isiOS: {
	            get: function get() {
	                return env.platform == 'iOS' ? true : false;
	            }
	        },
	        myPosition: {
	            get: function get() {
	                return env.platform == 'iOS' ? 'absolute' : 'fixed';
	            }
	        }

	    },
	    methods: {
	        initData: function initData() {
	            this.mTitle = this.title;
	            this.centerItemShow = this.title != null;
	            if (this.backImage) {
	                this.mBackImage = this.backImage;
	                bridge.ZLLog('back image ' + this.backImage);
	                // this.leftItemShow = this.backImage != null;
	            }
	            if (this.rightItem) {

	                this.rightItemTitle = this.rightItem.title;
	                this.mRightItemImage = this.rightItem.image;
	                this.mRightItemWidth = this.rightItem.width;
	                this.mRightItemHeight = this.rightItem.height;

	                if (this.mRightItemImage) {
	                    this.mRightItemImageShow = true;
	                }
	                if (this.mRightItemTitle) {
	                    this.mRightItemTitleShow = true;
	                }
	                this.rightItemShow = this.mRightItemImageShow || this.mRightItemTitleShow;
	            }

	            if (this.rightItemTitle) {
	                this.mRightItemTitleShow = true;
	                this.mRightItemImageShow = false;
	                this.mRightItemTitle = this.rightItemTitle;
	                this.rightItemShow = this.mRightItemImageShow || this.mRightItemTitleShow;
	            }

	            if (this.changeopatityheight) {
	                this.m_changeOptityHeight = this.changeopatityheight;
	            }
	            this.m_offsetY = this.curoffsety;

	            var offsety = -this.m_offsetY;

	            if (offsety > this.m_changeOptityHeight) {
	                this.leftBgOpatity = 0.2;
	            } else if (this.m_changeOptityHeight > 100 && this.m_changeOptityHeight - 50 < offsety && offsety < this.m_changeOptityHeight) {
	                this.leftBgOpatity = 0.2 * (this.m_changeOptityHeight - offsety) / this.m_changeOptityHeight;
	            } else {
	                this.leftBgOpatity = 0;
	            }
	        },

	        onPop: function onPop() {
	            var navigator = weex.requireModule('navigator');
	            var params = {
	                'animated': 'true'
	            };
	            navigator.pop(params, null);
	        },
	        onClickRightItem: function onClickRightItem(e) {
	            this.$emit('rightClick', { e: e });
	        }
	    }

	};

/***/ }),
/* 76 */
/***/ (function(module, exports) {

	module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    style: {
	      position: 'fixed',
	      top: '0',
	      left: '0',
	      width: '750',
	      height: _vm.navigationBarHeight,
	      backgroundColor: _vm.color ? _vm.color : _vm.mColor
	    }
	  }, [_c('div', {
	    style: {
	      position: 'absolute',
	      top: _vm.topHeight,
	      left: '0',
	      right: '0',
	      height: '44wx',
	      flexDirection: 'row'
	    }
	  }, [(_vm.leftItemShow) ? _c('div', {
	    staticStyle: {
	      width: "150",
	      height: "44wx",
	      flexDirection: "row",
	      alignItems: "center",
	      justifyContent: "flex-start"
	    },
	    on: {
	      "click": _vm.onPop
	    }
	  }, [_c('div', {
	    style: {
	      position: 'absolute',
	      marginLeft: '5wx',
	      marginTop: '5wx',
	      width: '32wx',
	      height: '32wx',
	      borderRadius: '32',
	      backgroundColor: '#000000',
	      opacity: _vm.leftBgOpatity
	    }
	  }), _c('image', {
	    staticStyle: {
	      marginLeft: "10wx",
	      width: "22wx",
	      height: "22wx"
	    },
	    attrs: {
	      "src": _vm.mBackImage
	    }
	  })]) : _vm._e(), (_vm.centerItemShow) ? _c('div', {
	    staticStyle: {
	      width: "450",
	      height: "44wx",
	      flexDirection: "row",
	      alignItems: "center",
	      justifyContent: "center"
	    }
	  }, [_c('text', {
	    style: {
	      textOverflow: 'ellipsis',
	      width: '375',
	      lines: '1',
	      fontSize: '17wx',
	      textAlign: 'center',
	      color: _vm.tintColor ? _vm.tintColor : _vm.mTintColor
	    }
	  }, [_vm._v(_vm._s(_vm.title))])]) : _vm._e(), (_vm.rightItemShow) ? _c('div', {
	    staticStyle: {
	      width: "150",
	      height: "44wx",
	      flexDirection: "row",
	      alignItems: "center",
	      justifyContent: "flex-end"
	    },
	    on: {
	      "click": _vm.onClickRightItem
	    }
	  }, [(_vm.mRightItemImageShow) ? _c('image', {
	    style: {
	      marginRight: '12wx',
	      width: _vm.mRightItemWidth,
	      height: _vm.mRightItemHeight,
	      opacity: '1|0.5'
	    },
	    attrs: {
	      "src": _vm.mRightItemImage
	    }
	  }) : _vm._e(), (_vm.mRightItemTitleShow) ? _c('text', {
	    style: {
	      marginRight: '12wx',
	      fontSize: '15wx',
	      color: _vm.tintColor ? _vm.tintColor : _vm.mTintColor
	    }
	  }, [_vm._v(_vm._s(_vm.mRightItemTitle))]) : _vm._e()]) : _vm._e()]), _c('div', {
	    style: {
	      backgroundColor: _vm.bottomLineColor ? _vm.bottomLineColor : _vm.mBottomLineColor,
	      width: '750',
	      height: '1px',
	      position: 'absolute',
	      bottom: '0',
	      left: '0'
	    }
	  })])
	},staticRenderFns: []}
	module.exports.render._withStripped = true

/***/ }),
/* 77 */
/***/ (function(module, exports, __webpack_require__) {

	var __vue_exports__, __vue_options__
	var __vue_styles__ = []

	/* script */
	__vue_exports__ = __webpack_require__(78)

	/* template */
	var __vue_template__ = __webpack_require__(79)
	__vue_options__ = __vue_exports__ = __vue_exports__ || {}
	if (
	  typeof __vue_exports__.default === "object" ||
	  typeof __vue_exports__.default === "function"
	) {
	if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
	__vue_options__ = __vue_exports__ = __vue_exports__.default
	}
	if (typeof __vue_options__ === "function") {
	  __vue_options__ = __vue_options__.options
	}
	__vue_options__.__file = "/Users/wyatt/Desktop/Work Project/doufu_php/web/api.doufu.diaobao.la/weex/common/tf-button.vue"
	__vue_options__.render = __vue_template__.render
	__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
	__vue_options__.style = __vue_options__.style || {}
	__vue_styles__.forEach(function (module) {
	  for (var name in module) {
	    __vue_options__.style[name] = module[name]
	  }
	})
	if (typeof __register_static_styles__ === "function") {
	  __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
	}

	module.exports = __vue_exports__


/***/ }),
/* 78 */
/***/ (function(module, exports) {

	'use strict';

	//
	//
	//
	//
	//
	//
	//
	//
	//

	var bridge = weex.requireModule('bridge');
	module.exports = {
	    props: {
	        //-------外界可设置变量-------//
	        edgeLeft: {
	            default: '5wx'
	        },
	        edgeRight: {
	            default: '5wx'
	        },
	        edgeTop: {
	            default: '5wx'
	        },
	        edgeBottom: {
	            default: '5wx'
	        },
	        index: {
	            default: 0
	        },

	        vimageItem: {
	            default: null
	        },
	        vtitleItem: {
	            default: null
	        },
	        valign: {
	            default: null
	        },
	        vpadding: {
	            default: null
	        },

	        //-------私有变量-------//


	        mPadding: {
	            default: '3wx'
	        },
	        mImageItem: {
	            default: function _default() {
	                return {};
	            }
	        },
	        mTitleItem: {
	            default: function _default() {
	                return {};
	            }
	        },
	        mImageShow: {
	            default: false
	        },
	        mTitleShow: {
	            default: false
	        },
	        mAlign: {
	            default: 'row'
	        },
	        mVerticalPading: {
	            default: '0'
	        },
	        mHorizalPading: {
	            default: '3wx'
	        },

	        mImage: {
	            default: ''
	        },
	        mTitle: {
	            default: ''
	        },

	        mImageWidth: {
	            default: '0'
	        },
	        mImageHeight: {
	            default: '0'
	        },

	        mSelected: {
	            default: false
	        },
	        mEnable: {
	            default: true
	        },
	        mFont: {
	            default: '15wx'
	        },
	        mColor: {
	            default: '#000000'
	        },
	        imageItem: {
	            default: null
	        },
	        titleItem: {
	            default: null
	        },
	        align: {
	            default: null
	        },
	        padding: {
	            default: null
	        },
	        isSelected: {
	            default: false
	        }
	    },

	    watch: {
	        vimageItem: function vimageItem() {
	            //vimageItem
	            if (this.vimageItem) {
	                this.imageItem = this.vimageItem;
	            }
	        },
	        vtitleItem: function vtitleItem() {
	            //vtitleItem
	            if (this.vtitleItem) {
	                this.titleItem = this.vtitleItem;
	            }
	        },
	        valign: function valign() {
	            //valign
	            if (this.valign) {
	                this.align = this.valign;
	            }
	        },
	        vpadding: function vpadding() {
	            //vpadding
	            if (this.vpadding) {
	                this.padding = this.vpadding;
	            }
	        },
	        imageItem: function imageItem() {
	            this.imageItemChange();
	        },
	        titleItem: function titleItem() {
	            this.titleItemChange();
	        },
	        align: function align() {
	            this.alignChange();
	        },
	        padding: function padding() {
	            this.paddingChange();
	        }
	    },
	    computed: {},
	    created: function created() {

	        if (this.vimageItem) {
	            this.imageItem = this.vimageItem;
	        }

	        if (this.vtitleItem) {
	            this.titleItem = this.vtitleItem;
	        }

	        if (this.valign) {
	            this.align = this.valign;
	        }

	        if (this.vpadding) {
	            this.padding = this.vpadding;
	        }
	        this.imageItemChange();
	        this.titleItemChange();
	        this.alignChange();
	        this.paddingChange();
	        if (this.isSelected) {
	            this.setSelected(this.isSelected);
	        }
	    },

	    methods: {
	        setSelected: function setSelected(selected) {

	            this.mSelected = selected;
	            bridge.ZLLog('click title: ' + this.mTitle);

	            var color = this.mTitleItem['color'];
	            var image = this.mImageItem['image'];
	            var title = this.mTitleItem['title'];
	            if (selected == true) {
	                color = this.mTitleItem['selectedColor'] == null ? color : this.mTitleItem['selectedColor'];
	                image = this.mImageItem['selectedImage'] == null ? image : this.mImageItem['selectedImage'];
	                title = this.mTitleItem['selectedTitle'] == null ? title : this.mTitleItem['selectedTitle'];
	            }
	            color && (this.mColor = color);
	            image && (this.mImage = image);
	            title && (this.mTitle = title);
	        },
	        setEnable: function setEnable(enable) {

	            this.mEnable = enable;
	            var color = this.mTitleItem['color'];
	            var image = this.mImageItem['image'];
	            var title = this.mTitleItem['title'];
	            if (enable == false) {
	                color = this.mTitleItem['disableColor'] == null ? color : this.mTitleItem['disableColor'];
	                image = this.mImageItem['disableImage'] == null ? image : this.mImageItem['disableImage'];
	                title = this.mTitleItem['disableTitle'] == null ? title : this.mTitleItem['disableTitle'];
	            }
	            color && (this.mColor = color);
	            image && (this.mImage = image);
	            title && (this.mTitle = title);
	        },
	        btnClick: function btnClick(enable) {
	            this.$emit('btnClick', this);
	        },
	        imageItemChange: function imageItemChange() {
	            var v = this.imageItem;

	            if (!Boolean(v)) {
	                return;
	            }
	            this.mImageItem = v;

	            var image = v['image'];
	            this.mImageShow = image != null;
	            var height = v['height'];
	            height && (this.mImageHeight = height);
	            var width = v['width'];
	            this.mImageWidth = width;
	            this.mImage = image;
	            // width && (this.mImageWidth = width);
	            // image && (this.mImage = image);
	        },
	        titleItemChange: function titleItemChange() {
	            var v = this.titleItem;

	            if (!Boolean(v)) {
	                return;
	            }

	            this.mTitleItem = v;
	            var title = v['title'];

	            this.mTitleShow = title != null;

	            var fontSize = v['fontSize'];
	            fontSize && (this.mFont = fontSize);
	            var color = v['color'];
	            this.mColor = color;
	            this.mTitle = title;
	            // color && (this.mColor = color);
	            // title && (this.mTitle = title);
	        },
	        alignChange: function alignChange() {
	            var v = this.align;
	            if (v == 'vertical' || v == 'column') {
	                this.mAlign = 'column';
	                this.mVerticalPading = this.padding;
	                this.mHorizalPading = '0';
	            } else {
	                this.mAlign = 'row';
	                this.mVerticalPading = '0';
	                this.mHorizalPading = this.padding;
	            }
	        },
	        paddingChange: function paddingChange() {
	            var v = this.padding;
	            this.mPadding = v;
	            this.align = this.mAlign;
	        }
	    }
	};

/***/ }),
/* 79 */
/***/ (function(module, exports) {

	module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    staticStyle: {
	      justifyContent: "center",
	      alignItems: "center"
	    }
	  }, [_c('div', {
	    style: {
	      flexDirection: _vm.mAlign,
	      justifyContent: 'center',
	      alignItems: 'center',
	      marginTop: _vm.edgeTop,
	      marginRight: _vm.edgeLeft,
	      marginLeft: _vm.edgeLeft,
	      marginBottom: _vm.edgeBottom
	    }
	  }, [(_vm.mImageShow) ? _c('image', {
	    style: {
	      width: _vm.mImageWidth,
	      height: _vm.mImageHeight,
	      marginRight: _vm.mHorizalPading
	    },
	    attrs: {
	      "src": _vm.mImage
	    }
	  }) : _vm._e(), (_vm.mTitleShow) ? _c('text', {
	    style: {
	      fontSize: _vm.mFont,
	      color: _vm.mColor,
	      marginTop: _vm.mVerticalPading
	    }
	  }, [_vm._v(_vm._s(_vm.mTitle))]) : _vm._e()])])
	},staticRenderFns: []}
	module.exports.render._withStripped = true

/***/ }),
/* 80 */
/***/ (function(module, exports) {

	module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
	  return _c('div', {
	    ref: "root",
	    staticStyle: {
	      backgroundColor: "bg|bg"
	    }
	  }, [_c('tf-nav', {
	    attrs: {
	      "title": _vm.title
	    }
	  }), _c('list', {
	    style: {
	      marginTop: _vm.navigationBarHeight
	    }
	  }, _vm._l((_vm.list), function(data) {
	    return _c('cell', {
	      appendAsTree: true,
	      attrs: {
	        "append": "tree"
	      }
	    }, [_c('tf-offline', {
	      attrs: {
	        "item": data
	      }
	    })], 1)
	  })), (_vm.noneDataShow) ? _c('div', {
	    style: {
	      position: 'absolute',
	      top: _vm.navigationBarHeight,
	      left: '0',
	      right: '0',
	      bottom: '0',
	      backgroundColor: 'bg|bg',
	      alignItems: 'center',
	      justifyContent: 'center'
	    }
	  }, [_c('text', {
	    staticStyle: {
	      color: "#666666|text",
	      fontSize: "17wx"
	    }
	  }, [_vm._v("暂无记录")])]) : _vm._e()], 1)
	},staticRenderFns: []}
	module.exports.render._withStripped = true

/***/ })
/******/ ]);